<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<meta name="decorator" content="moduleList" />

</head>
<body>
<form:form name="listForm" action="" modelAttribute="backupBrand" method="post" class="form-inline" role="form">
	    <input type="hidden" name="deleteIds" >
    	<div class="o-l-search-builder f_1">
	         <div class="f_8">
	              <div class="f_2">
	                  <div class="col-sm-8 f_6">
	                        <form:input id="brandCname" path="brandCname"class="f_5" placeholder="品牌中文名"/>
	                  </div>
	                  <button type="submit" class="btn btn-warning btn_1">查&nbsp;询</button>
	             </div>
	         </div>
	         <div class="o-l-chevron-down"><a href="#" class="btn btn-default" data-toggle="collapse" data-target="#statement-search-builder" id="chevronDownBtn" role="button"><span id="glyphiconspan" class="glyphicon glyphicon-chevron-up"></span></a>
	         </div>
	     </div>
    	<div class="o-l-search-builder f_1">
              <button type="button" class="btn btn-danger btn_3 btn_right" onclick="Oosp_DelAll('${contextPath}/biz/brand/backUpBrand/deleteAll','table1')">删&nbsp;除</button>
              <button type="button" class="btn btn-info btn_3 btn_right" onclick="window.open('${contextPath}/biz/brand/backUpBrand/add','_self')">新&nbsp;建</button>
        </div>   
	<tags:message content="${message}" />
	<div class="o-l-search-builder f_9">
		<table class="table table-striped table-hover o-l-table table-bordered" id="table1">
			<thead class="t_1">
			<tr>
				<th style="width: 1px"><input type="checkbox" data-ckb="all"></th>
				<th>品牌中文名</th>
				<th>品牌英文名</th>
				<th>经营门店总数</th>
				<th>经营业绩总计</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${page.list}" var="backupBrand">
				<tr
					data-herf="${contextPath}/biz/brand/backUpBrand/${backupBrand.id}/view"
					data-target="_self">
					<td class="o-l-tab-ckb"><input type="checkbox"
						data-ckb-id="${backupBrand.id}"></td>
					<td>${backupBrand.brandCname}</td>
					<td>${backupBrand.brandEname}</td>
					<td>${backupBrand.managementShops}</td>
					<td>${backupBrand.sales}</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
</div>
	<pager:pager pageSize="${page.pageSize}" pageNo="${page.pageNo}" url="" total="${page.total}"/>
	<script type="text/javascript" src="${staticPath}/js/list.js"></script>
</form:form>
</body>
</html>